revamp Resizer API
update Resizer usage, add test