Merge pull request #53 from jkuk/master

changed some back ends to implement comparable, added the main class