Cleanup rakefile, separate driver code from Ruby app code
Add loading modes for webruby