Add db insert on libro route, corrected schema, added books config, restore of composer.json