A historic building that once formed part of Norton Barracks has been transformed into a community hub thanks to a £1.6 million investment from Wychavon.