Cleaned up a few of the files of useless functions/comments and added some useful comments