Add base implementation of attachments
Test factory.create