Added all empty fuctions to .cpp files. Added Segment class