Added Database and RESTful API for todos