Added resource generation

Tiles can now generate resources
tiles also correclty use Configuration values