!all not fully tested! [ADD] DB management, [UPDATED] Prelegent class