move clear into base
Merge branch 'master' of github.com:woolstar/tools