Tidied up makefile.
Re-ordered #includes to fix weird readline dependency.
Moved _GNU_SOURCE definition into makefile.
Zero passphrase after use.
Removed stupid dependency in readme.
Refactored database code into separate module.