added slim templating and converted views to slim format