Basic file layout and some basic implementations of a state stack that I
use for back buttons all the time.