Refactor stylesheets, fix links and routes, refactor tests