Added --init option to database program.