Cleaned Up. Java Docs added.