Added some regular method comments, and some study comments. Cleaned up the code.