Added Frame() class

This is a first attempt, no doubt there will be a lot of changes in
future.