migrating Binding chapter to Mvc architecture