Restructured project and removed redundant code.

* Removed the old java dir.
* Removed the old ruby dir.
* Moved contents of Maven dir to the top level project dir.
* Updated travis build.