feat: made commandhandler pluggable
feat: generalized plugin interface