simple sme parser created
minor parser improvements
Merge pull request #24 from yohny/master

sme parser and small tweaks