the government , in an effort to cut down on the consumption of gin among the working classes , had allowed anybody with a dwelling , for a nominal fee , to convert part of their house into a beer parlour .