Oh I see what you mean now.

So in that case I would say you want 2 new functions. One to handle uploads. and one to handle this scheduling thing. This file would be act as an API for things related to YouTube like helper functions etc... which might be needed by other plugins.