updated file to take rootdir as option inarg.
also, default rootdir updated to reflect switch of main directory to /project