Create pool.js