Fixed paths to assets and set up routes and controller