App refactor

No major changes. Just some refactoring/improvements I found out while making the Pong app.