Rewrite
Use ava for testing
Update documentation
Use flat Travis badge