Added DOM to Goat path

Can now populate allocated Goat objects from the DOM.