Fixed saving/loading. Still need to do it more efficient (bad performance in resoring by indexes in connection class). Still exist problems with copying (crashes).