Created separate controller and data binding