How to use import libraries in Rhino compute (python server)?

Hello,

I am new using Rhino compute and follow the official example files. As you can see in the screenshot, I want to import some libraries, especially ‘import Rhino’, ‘import rhinoscriptsyntax’, and define my own definition (hops component). But it didn’t work. It seems I can only use the Rhino3dm library to define a hops component. Am I missing some something? Hopefully some experts can give me a guidance. Thanks a lot.