ResourcePool init revised

Now, every init will update resource pool using docker api to get
running containers' info. Freemem needs a better way....