Add config library. Remove useless files.