Rename all the functions

Remove the word "Domain" from all the function names