Added reflection api for main index to browse through all controllers and a class for managing user input