A simple UI agnostic command framework.