Created api/v1 namespace - moved and refactored controllers and views