Rewrite backend to be more resilient and efficient and predictable
Bump version to 0.2.0