Created entry controller, and entry controller factory and gave them functionality.