Fixed engine.py to work with new data model

Tests are passing and the player module works
too. There are some little decisions I'll have
to revisit. Things like capitalization, style.
Also, as I've said before, engine.py needs to
get a lot smarter.

This commit paves the way for merging the
structure branch with master. Just need one more
commit getting the add and edit content modules
working.