Fix deployment issues

- Remove rewriter
- Add dev environment