Changed function_loader

Now expects text instead of xml.
Also, removed unused file.