Separates some functions into their own files separates some big functions in to smaller ones to help improve the code cleans up some stuff