use config.json as config file, http regex handler
implement basic stuff