Organized namespaces, plus merged some of the code

I merged the unit, creature, hero, mage and warrior classes with the
ones i wrote before. Right now they are unusable, and we should
seriously consider trimming something of them, since they are way too
complicated right now.