drawing classes refaktoring