Modified py files and Added migrations