call functions in 2.5

Hello for all.
I am trying to translate a blender script, 2.49 to 2.5. The script doesn’t have declared any class, single functions and at the end of the same one the following call is made

Register(gui, event, bevent)

where ‘gui’, ‘event’ and ‘bevent’ are three of the functions developed in the script.
How do I make to call to these functions in 2.5?
Do I have to make a class and to lock this functions in her? :eyebrowlift2:
Thank you in advance.