implement windows service and delete unused stuff