updated tests to current interface
moved files into namespaced based directories
added test and config for collection sync
add collection sync with global settings
light linting and refactoring