factored away template engine, added basic skins