Library rewrite

Updated method names, added a couple methods, added comments
Updated example and shortened a couple method names