added todos resource and set up different environments
added todos resource and set up different environments