[REFACTOR]: Refactor get_type to be less 'ifelsey'. Added Type_regex/Type_string constant arrays to solve this.
[REFACTOR]: Go from two arrays to one hash. Wow, that was easy.