Added Comments
Added several comments and Javadocs