[#17] Moved methods used to generate article into gem