Moved more blogpost list functionality into correct file.
More refactoring.