support for variable count of internal, registered events
error code as return value enabled
test/test.js

added testcase for error code returning
Variable support like express.js
Variable support like express.js
added test for variable extraction
added test for variable extraction