library database emulatory using structures in c code in a modularized format