Reorganized some machine functions, added search function to the RK storage TE