Comm 5

imlement manager mode logic
started to clean code and set loggers
started to write javaDoc comments, server part will be translated  later
try to implement alert sender, not tested yet
change ID compute principle