refactor: split out mock provider and more

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
fix null pointer exception

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge pull request #2 from miurahr/refactor_gps_mock_provider

Refactor gps mock provider