Intial structure dispatcher module

I missed this in the first review. Change `setHandlers` to `SetHandlers`. Function, Class name and Public properties of class are in pascal case. Private variables of a class start with `_` and then follow camel case. Variables local to function are in camel case.

Do check the naming convention in other places too.