Added phpunit, some tests for the Application class, and broke the router into a class.