feat(autolabel): split some of the automatic labelling into funcs
this allows for easier testing by having a separate file with small containable functions that test logically
this allows for easier testing by having a separate file with small containable functions that test logically