Are you ever frustrated with the default API loader? os.loadAPI does what you need it to, but you can't set the API name to something other than the function name, and you can't create local APIs. I present to you a solution! I have made a quick program which will take a file or string and return it as a list of functions, which you can load into a local table.

Pastebin:
http://pastebin.com/xbdrbjN2