Add Magnet class
Merge branch 'master' of github.com:pkorth/particle-sandbox