referenced types are now extracted through reflection (class names only for now) and a library folder with corresponding d.ts files is created