checkstyled
removed deprecation
added notNull to references between entities
temporary removed Statistics
made sending of special message working