Added a main router for the client app and 404 handling.