Rakefile issues

Rewrote everything. It works but I'm having a problem with the rakefile not recognizing the solution. On the plus side, when I minimized it I got it down to 825 characters.