Add attachment model and view