remove app and cleanup dependencies