Started on a class structure.