move kernel functions to separate file
remove std.hpp/cpp/tpl and replace with libutils