brings metadata factory and entity repositories