Moved most autocompletion function to seperate file.
Can't move customCompletion()