Hm. I think what you want are functions which, I believe, are more portably written with the 'function() { list; }' syntax. And those would be in the same shell script. You invoke them simply by name and any arguments given to them are separate from the arguments passed into the script. So
function() {
blah blah $1
}
more cmds
function foo # invokes 'function' and passes 'foo' to it.
A thing to note is that variables coming out of functions, so to speak, are global unless specifically restricted with 'local'.
If you really want a library of functions (because they can be used in more than one script) you can keep them in another file, perhaps called 'lib.sh', and then you can source that file '. lib.sh' and then all functions in that file will be made available to your script.
Hope that helps.
-- Oh, and welcome to LQ!