Converted handlers to plugins
Made handler plugins configurable