Added base architecture for new frames
Added NestedFrame logic
Revert "Added NestedFrame logic"

This reverts commit 1690e84f81d8fe4103d21855cbc56cc164c8a992.
Basic implementation of frame categories