Added base templates for views, added loader