Removing mongo dependency