Moved Functions to Services

don't leave commented out code in your repo.