Added LogCommand. Added proper logging on every commands!