Feature/build system

fleshed out the rakefile a little and updated the documentation, cleaned up non-running tests