Added LogPile as a container, bug fixes