triangle skeleton

Added the methods and data members that will be required
for triangle.

[Close #3]