Started writing base classes