Added pattern matching ordering, changed 'bind' to 'listen',
organized better into a package, got 'cron' functionality working