added tex and starting working on main documentation