modified udf to function; there is No CacheHandlerFactory.udf
Merge pull request #359 from igal-getrailo/improve-024

modified udf to function; there is No CacheHandlerFactory.udf