Restructuring code, o2o functionality

* bin, config, lib, and test dirs
* Rakefile for running tests
Merge pull request #8 from andrew311/master

Restructuring code, o2o functionality