Added the base for memory reading
misc fixes