Object oriented programming, PostgreSQL, Ruby and Sinatra work