remove non-catalog related stuff
rename packages to reflect true purpose
add Json file I/O support
refactored