Adding initial geometry code.