now work fine, add some functions to kpdb.py
Merge pull request #6 from Friz-zy/master

fixed write and create functions, add starting kdb if filename is None