Add mongoose dep and basic impl for entry