Updated mongo to generate collection name from class when not specified