implemented handling facts in db, saving, removing operations by API exposed