Cleaning and commenting code, adjusting mobs