got PowerGlove class working, separate from main.js. Also added live updated toggle button on UI.