updated readme and started polishing code. A lot left before this branch is ready for prime time