Created a simpler way of defining frames

It has a huge impact on dynamic memory though, which only makes it
possible to have something like 30 frames.