Moved console functions into standard library