added backend mode
Merge pull request #1 from phil65/master

added backend mode