Updated the Category to not use the shared Post as it is in the same folder.
Updated category relationship to work with Post and not BasePost. Updated repository to use Query Builder.
Updates repository to join image.
Corrected relationship to direct to the Post and Category.
Corrected merge conflicts.