Added pool class