£400,000 in grants awarded to community groups