Add templates, css styles, fix settings