Working on rendering and ai(sort of)