added parenthesis support
added MIT license
added support for user-defined constants