Restructured Mob class and changed Eclipse formatter