move pool setup from app.src to config file