Add simple spotter based on java hash map. Add test case.
Merge