Renamed `GeneratorEncoder` to `BitMasking`

Moved `DcRankHelper` to `BitMasking`
Tests for `GetMobileType`
Tweaked how `MobType` is being parsed from string