Completed core functionality, added comments, added and example, and condensed JSON file.
Improved javadoc comments.