Changed sql setup file to use correct naming convention
removed unnecessary useTable variables now that table convention is correct
Changed sql file again to add functionality for sidebars
added homepage views
added relationships
added additional functionality for template types