add userconfig support. fixed #3
Merge pull request #4 from fengmk2/userconfig

add userconfig support. fixed #3