Templates added; Basic document attachments working