Adding MVC structure and new function for key display.