Finished commenting code and cleaning up unused files