first steps taken to splitting up spidercat functions into meaningful files