Finished coding PrimitiveCommand class files.
Fixed guard commands in various H files.