Added FunctionExecutor to functions plugin to run functions in background thread. Need to add methods to Function interface to allow progress tracking