Added more comments and cleaned up classes.