code cleaning and deleted unused files