Check key, create database, import password

Implemented check of database by a header row. This makes old
databases no longer work. Create database method implemented,
but is not called (TODO: new flag for creating database). Importing
an already existing password now implemented.