added pills features
Merge pull request #2 from zotiger/master

Pills feature and auto-detect-and-make pills.