refactor line based configration.
Merge pull request #9 from hansode/config-line-in-file

refactor line based configration.