yay finished all functions

files & scanner not done yet