Add working sinatra API with few rspec test

Still need more TDD dev. Json content from last inserted value is not
tested for example.