Set up configure script to generate a new local config. Moved the entity manage populate into the base entity class.