Introduce connection pooler

Should this be hard-coded? Couldn't it be in a configuration setting?