Rearranged dependencies, adding in basic packet initialization