Changed a global function to local
Changed rinApp to only remove devices that have not been removed already
Merge branch 'master' of chef.rinstrumau.local:rnd/L001-503