Initiated default values.

And moved frames to separate classes.