Moved actions serialyzation from gamepanel to a specific class, which is serialyzable

Sending the serialyzable obj stay in the gamepanel