Add dark time code

added so that Ryan can check it out. Sean/Ryan you need to learn how to
do this!