basic Implementatin of Classes