renamed stuff
added the dom controller and table