implement basic config module