console class
various init stuff