added license file
Converted to proper node.js module; added full button-command 'constants' list