added attr=
fixed modify-classes
Added tests for the remaining functions
updated README