Simple and lightweight pool implementation