why ENTITIES set manually? could you please read all of them from configuration file