First version of loading ground definitions from lua. Works, but need to seriously refactor tile handling.