basic rendering part 1

okay so now we have borders (awsome) and other stuff (pun) will follow
soon.