Deleting bin and gen folders. Added method to clean the phase