changed folder's behavior, added id generator to gameobject class