added get frame method
updated data structure for storing the initial set of skeletons