Comment Comment by mattboardman Usually your main function can't be used by any other part of your program. You should move all component implementations to modules so they can be re-used elsewhere. parent mattboardman 2 years ago