Console support

Adds basic console support