integrated CLDict initialization and freeing into structure itself
further work on the kernels