Begin construction of crowdfactor init.  Move dayToNum to app.