basic maze and object pool working