copy config library. actually this should be a regular Maven dependency, but as it's a pain to get these things into public repositories, do copy-paste for now.
pull out hardcoded parameters into a configuration file