Change the naming of entity manger configuration and create base command class