This site (https://www.sharelatex.com/blog/2013/08/09/thesis-series-pt5.html) has a guide on how to create your own template for a thesis. Quite nice and simple, and easily customizable.
The actual Tex source code is found here: https://www.sharelatex.com/project/51fa85c3db89c3c351085071.
I like it as the source code is neat and clean, you can easily edit it if you know some basic Latex. Some other templates out there are quite complex and convoluted, it is hard to customize it.