Refactoring.
Added MessageProcessor.
Added RandomGenerator.
Updated packages.