Westmeath historic market house to become work and retail space