HSEARCH-1309 Splitting as module into as, spring and performance. Cleaning up dependencies.