changed Scene to Frame, Sequence to Scene and added databse read/write capabilities