added readme, license and all the m-files