moved sphere and triangle to new class files