Crawling and Detecting Community Structure in Online Social Networks using Local Information