Comments and Getters

Added some comments and getters. Some of the methods have javadoc
commments now, which should be helpful.