simplify the attrib.py for now
Added test files + minor update of the cmd.py