Template Sinatra app to implement postgres-backed APIs