added smartmax - WIP
Merge pull request #1 from maxwen/master

smartmax - WIP