[Misc] Refactoring: Move Type parser inside a "type" package