initial implementation of classes

classes + data definition