add config, libs and mongoose