Constants as a hashmap

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
ASDFJQIWOEFJQWEIFOJWQEF

Signed-off-by: Sam Phippen <samphippen@googlemail.com>