add attachment model

...to support image uploads in publisher