added type and convenience constructor for frames.  beginnings of animation infrastructure