Update and fixes

Update packets, directory and small fixes for logger.