And these communities tell me that mosques have a much wider role beyond their core spiritual purpose in providing services , educating young people and building cohesion - and the majority already work hard to reject violent extremism .