Add createHandler method for programmatic configuration
#63
+47
−24
createHandler method for programmatic configuration
#63