adding ability to call server side functions in orientdb