A bunch of cleanups in line with #2.
Moved over to Rake-based building (#3).
Got rid of stuff which was only stubs anyway.
Got rid of stuff which isn't actually used at the moment.
Updated to follow the guidelines in #2.
Fixes to make it compile, #3.
Fixed 'clean' to remove the output. #3
Started work on making the console server compile again. #3
Updated details.