remove dead code (csplines)
some cleanup, remove dead code, implement get-metrics function
make server to display configurable