readme, finish comments, add config constants