Committing first set of working changes related to the controller
Changes include
1. Two way binding
2. Framework for common API's