modified most of the classes. now calculates properly the signed bytes. Instance counter need work.