First stab at a class structure.