Smart Communities and Knowledge Sharing as Main Tools to Achieve Common Purposes