simplify the packaging of the code

merge ancillary libraries into core ones.
remove a stale subdir
initial port to memorykit
reorder parameter position.
Merge branch 'cxkit_port'