added the articles model

Added the model code for articles