bit of housekeeping

Refactored message entities, deleted unused classes and added more
comments
Merge branch 'master' of https://github.com/mirko1978/pharmacovigilance