Remove mongoose dependency