add namespace; index and detail views and templates