some renaming
added framework functions and example
streamified framework