Created controller for todo items and associated spec tests