Merge pull request #4 from ioggstream/master

Use @staticmethod decorator instead of fname = staticmethod(fname)
Merge pull request #5 from ioggstream/master

add tests/ directory, support for custom backends, more docs
linted with autopep8 -i