UT bugfix : post data was not being hashed
bugfix : don't run queue cleanup without a post date
improving migration for attachments table
add model for Attachment
add UT for models
feature : abstracted models
feature : adding repository class for common model-db interactions
heavy refactoring
more UT coverage
even more refactoring and UT coverage