Added licence file.
Added interface and abstract class of a command with result.