Cleanup and mock

This is still a WIP, but useful for mocking and testing of `lamassu-atm-protocol`