Massive overhaul

Some of my changes may be controversial, so I'm opening this PR rather than pushing directly to the repo.

If you're ok with all of these, feel free to just go ahead and merge. Otherwise, all feedback is welcome.

See [this comment](https://github.com/SkyCorp/Hakumai/pull/5#issuecomment-55500585) for an explanation of the changes I made—though this may not be all of them.