new structure

simpler, less folders. handle all functions related to a page, inside
the php file itself. functions should output layouts only based on
session variables. all data is to be retrieved through REST calls to
database connected php files. less clutter!