Refactoring: move array creation/copy/discovery functions to util
WebCLContext: initial implementation with arithmetic operations