Gateway module accessing the gateway scripts

I want to use some of the Jython gateway script libraries functions from an Ignition gateway module of mine. Can someone give me an example of which libraries to include at the top of gateway module and how to access some of the functions from gateway library?