Add License Apache 2.0
Isolate command control from command view