Make it executable with hashbang.
Use list instead of dict.
More readable parse code.
Merge pull request #9 from rumple/master

Few changes in parse code.