Refactor repository Elements, repository view. 
Add basic menu