extracted helpers and data mapper setup into external files also moved server.rb and views into app folder