added the template file for dooomsday and the notes associated with it. Definitely going to abuse looping key-value pairs in the template system if I can get away with it.
abstracted the template class to handle picking up the pages. Not tested yet.
fixed most issues. Need to fix issue regarding image loading and boolean subscript return from the getpages function.
fixed the file search error

now page loading is partially abstracted, next up is DoomsDay template