Prepare mongodb by setting GET collection and entity methods