added rakefile and some more needed features to app