move libstep to be internal library