\documentclass[11pt,letterpaper]{ryersonSGSThesis}

\usepackage{lipsum}

\newcommand{\heading}[1]{\bfseries #1}

\renewcommand{\arraystretch}{1.3}

\interdisplaylinepenalty=2500

\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}

\newcommand{\algorithmCaption}[1]{
\hrule height 1pt
\vspace*{\jot}
\textbf{Algorithm:} #1
\vspace*{\jot}
\hrule
}

\hyphenation{op-tical net-works semi-conduc-tor}

\DeclareMathOperator*{\argmax}{arg\ max}

\algnewcommand\algorithmicdefn{\textbf{Definitions:}}
\algnewcommand\Defn{\item[\algorithmicdefn]}

\setAuthor{Firstname Lastname}
\setTitle{{Thesis Title}}
\setThesisDegree{Doctor of Philosophy (Ph.D.)}
\setPastDegreeA{Bachelors, University of City, Year}
\setPastDegreeB{Masters., University of City, Year}
\setUniversity{Ryerson University}
\setDepartment{Department Name}
\setLocation{City, Province, Country}
\setThesisYear{Thesis Year}
\setAuthorsDeclaration{I hereby declare that I am the sole author of this dissertation. This is a true copy of the dissertation, including any required final revisions, as accepted by my examiners.

I authorize Ryerson University to lend this dissertation to other institutions or individuals for the purpose of scholarly research

I further authorize Ryerson University to reproduce this dissertation by photocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research.

I understand that my dissertation may be made electronically available to the public.}
\setAbstract{abstract}
\setAcknowledgements{acknowledgements}
\setDedication{dedication}
\subfile{rsgs-glossary}
\begin{document}
\begin{ryersonSGSThesis}
\chapter{Introduction}
\label{chap:Introduction}
\lipsum


\section{Bibliography}
\cite{2018_TwitterQuarterlyResults}

\section{acryonym}
\gls{ap}

\section{glossary and index}
\gls{cloud provider}

\chapter{Conclusions}
\label{chap:conclusions}
\lipsum

\end{ryersonSGSThesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                     Back matter                            %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\appendixpage       
\addappheadtotoc

\clearpage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{rsgs-example}

\clearpage
\printglossary[type=\acronymtype]
\printglossary[type=main]

\clearpage
\addcontentsline{toc}{chapter}{\indexname}
\printindex

\end{document}
