building a PostList object to better handle posts by the year