Added generic handlers.
Merge pull request #43 from rharishan/master

Added generic handlers.