Help please.

Shifted the global methods to the top. I still don't know how to
interact with the actual database, so I can't really do much else.