Combined some methods, added comments, rewrote readme.