WhoPay algorithm implemented. Testing needed.