add config
ignore config changes
switch to json for config
add ability to use env for listening
ignore config for now
api model is functional
fix minor bug in staistics
add test cases