Aberdeen church raises £340K for new community centre