use interfaces, not implementions

Slightly OCD replacement of all declared HashMap/ArrayLists etc. with their interface.