Add informative errors to gamestate
Add objects-code