Added new database functions. Also added some man pages.
Added some files.