implement config class
start introduce config