class method can be called from class constructor
added console module
implementing console module