Created includes folder and moved some PHP files from views to it.

Also renamed some functions and added more to includes() function.
Broke widgets though.