Added initializer for Entity context