code cleanup
Cleanup from unneccessary classes, and cut the logic of those off from codes
fix from warning error message if cookie key not presented and code cleanup
put listener events code to separated SharedAggregate Class from Module.php