what is the purpose of theology