final version of static obstacle pool and changing resource manager