Changed to hash mapping system.

Currently broken due to nullpointerexception when adding subordinates