add module support, add advertisement support basics, enhance config options and config system, simlify