project.m update

comments & small changes to code.
tests ok.