Restructured. Added Rakefile, proper bin, cli.
Fixed require in environments.