Factorize project settings