Added list of main entity and it reads from DB.