grim/wasdead

Major overhaul to the database, please look at issue #13 for more information on why we assume channels[] is always 1
db/