Refactor code and add debug toolbar extension
Update README.md