refactored a lot of the application, mainly bootstrap.php. added fileloader class that loads files.