Began tweaking code for scalability

Created master and ajax layouts.
Created primary route.
Created primary controller.