Refactor SLRE
Merge pull request #79 from cesanta/slre_refactor

Refactor SLRE