REST for ToDo app

Simple RESTful interface using Sqlite
Small fixes to make app work correctly