reworked format to use json configuration, added prelim test file