adding configuration capability
Merge pull request #1 from William-Mak/config

adding configuration capability