added manager class & cube spawning at time intervals