added pure html serving mode with configuration file