Add master method to popit class

This enables easy access to the master connection rather than having to
store a separate one for accessing accounts.