skypal-server: added and configured activerecord for sinatra with postgres; added Rakefile; converted app to modular layout