refactoring: addTerminalStation function was renamed to _addTerminalStation and was moved to as separate module member