created todos controller with all the action required, the TDD way