added ajax calls to Log and comments

started to comment the Package Class