added todos controller + updated index so that new instance of model (todo) can be created