db_init takes a path parameter
reorganize, remove common.h
reject blocks higher than 255
updated