changes by maxfx:

* memory deallocate
* simplified constructors
* remove Main and move code to MindSpy.ino (entry) and device
Merge remote-tracking branch 'origin/master'