Merge pull request #5 from stulees/master

Core plugin logic and use of config