I'm new to roku development and just had a few questions regarding the code and file structure and the execution process at runtime:
All files within a project ending with .brs are linked as if they were in the same file.
A program will start with sub or function main() or runuserInterface(), or for screensavers, runscreensaver()
Libraries can be imported with the library command which needs to exist outside of any function or sub.