First implementation of the status command