Merge pull request #34 from eyakubovich/master

Support multiple backends and add alloc backend