Move application controller to API namespace