Added console class

Added console class