split graphics and board almost complete

graphics and board are now largely split. Still have to remove the
graphics related functions from the Board object.