caching contexts for taxomachine calls
refactored taxomachine wrapper to its own file