Added comments for all methods. Closes #7