Looking at your screenshot of the IDE, the class and method names with the red squiggles do not have supporting import lines at top. If you mouse over any of those you will see an option to import the required library; just mouse over, do not click until you see the import option.
Also, take a look at this
guide to using the Wowza IDE. This guide is a little out-dated with references to the stand-alone Wowza IDE (which is no longer available) and Wowza 3 paths, but it is still the essential guide to implementing Wowza application Modules, HTTPProviders and ServerListeners