adding support for custom commands.

@helgemathee : Adding support for invoking custom commands from Manipulators.