Move a bunch of constants to conf