Update Project lib to make it works right under SAE
Update to make it works right and use the SAE special API on file write
and read