Refactor TablePanel and create BoneDrawer class