Refactored and checked the path

The view is now in its own file and the front controller checks
the path to display 404 errors.