base driver code and main classes stubs