consol works

the console works to some degree. Still need to fill in some console
functions