Remove obsolete code (commented).
Complete refinement of the database management (inner structure modified, resulting in functions modifications). All the functions have been completely revised and reimplemented.