database: new dump

A couple of changes.
index: optimization stuff and less lines
theme: reset color to white, instead of black
index: hooked with classes
account: class created
session: class created