Make the gui property of CATTube protected
Move functions in general into main folder
When working directory is main folder or when main folder is added to path, this avoids having to add general to the path