finished definition of base classes. fixed jstavel/edeposit.amqp#1