refactored to increase flexibility
Bump version: 1.3.0 → 1.4.0
Merge pull request #17 from nikicat/master

refactored to increase flexibility