added publication model and fixed sort order on tables
Merge pull request #72 from apatel/master

added publication model and fixed sort order on tables