adding library for similarity search, adding junit test for base comparison