added VGA driver, console and some I/O functions