Beginning of the cmd interface