setup piece detection
Merge branch 'master' of github.com:gareth-cross/CHARM