community detection algorithm working, now need to add a database to allow data persistance and analysis