add Readme / Remove memory leaks and context errors