use of the lobos library to create the legal profiles db