created mongoose schema stub for candidate and established mongodb connection