Move CacheManager to reid module
Fix some bugs in Multiway NN. Some bugs still remain
Sketch model training function. Still in progress