Added templates and basic detail/main view form