Removes geminabox, refactors methods with case statement and adds inet, cidr and macaddr as types.