move config/ to server/config
First draft at a JSON API!