added entities and repositories