adding start and stop scripts, remove state files