Changed modificators for variables of classes, added comments, fixed sam crashy buggs, changed a little bit layouts