temporary commit, not done. I need to adjust am_container to use a new pool class because I want containers to share a pool.