Implements major commands