database: implemet the basic of a database
vim: init the database and keep one instance of it
main: move vim to main
main: fix the spec broken by the new config file