CMS-2377 Resolve big problem with saving attachments (images) to content
Created a module per input type to encourage having extra classes in own ts-file.