initiate console class