added rt lib and tests, made soot work as intended