Get rid of purses array

Signed-off-by: Igor Popov <igor.popov@napa.fi>