Preparing E-R model