Added *getCommand implementation*
Added *a lot of inline documentation*