cleaned up object prototypes
cleaned up unused code and fixed comments
removde unused code, fixed/added comments