Refactor parse options to allow for -project (top level folder) and -sources (old -prefix)