created AdminController
implemented toArray and hasChildren for Navigation
added rest controller for navigation