add small doc
introduce attachments support/format
introduce test_factories
refactor