simpler database format - rewrite, but better in the long run