Deleting of all the useless main stuffs