nodepool.c now is able to fill the database with tables