add hardcoded default config
add option for unsorted output
misc. changes