Added some commenting + code cleanup