added createdb.h
fixed error (void*) conversion of memcpy in helpers.c
added chdir(dbname) after chdir(dbpath) in createdb.c, because createcats() is assuming to be executed WITHIN the database
changed dir changing to chdir(argv[1]) because of same reason above.