added correct loading of libs and included in app.rb
added correct loading of libs and included in app.rb