Improved singleton instance management.
Improved methods to compare.
Resolved compilatoin errors.
Removed dependencies between packet classes.