Merge pull request #2 from ASKProducts/master

Added data structure to replace o(n) lookups
fix issue with c99
resolve merge conflicts
Merge pull request #4 from ASKProducts/master

removed old unused lookup
free command structure after execution
optimize strlen() call
Merge pull request #1 from Kokxx/master

update from kokxx