Added first part of kernel invoker implemenation