Class to create frames.