Seperation of timeline and socket into seperat files