add presence detection
remove extra files