Extract some fns in the article model
Merge pull request #1 from devn/master

Extract some fns in the article model