cleanup, added database and wrote spellcosts
Authored by: freyavf 2012-02-16
Parent: [r213]
Child: [r215]