implemented repository add and most of community add