Move AW render handler stuff to own class

Prevents server crash due to render handler interface being
client-side-only.