basic classes for console version