added possibility to save new frames and update parameters of frames in db.
changed all parameters of frames to string
drag and resize are work and saving in scope fine now
added cascade to db