Use Rakefile to run tests
Remove legacy code and cleanup features