added comments, cleaned out garbage code, got rid of leftover files etc