Finite nuclei calculations with realistic potential models