Added entity specification.
Added getter method for segment entities.
Merge pull request #15 from NintenJoe/Task-2.4

Task 2.4