Unable to figure out a good way to do remote require of files, so all methods get moved back into the template itself so the template can be called remotely