Templatized Create/Delete Functions

Templatized the Create/Delete lua functions and renamed them. A new
"PullClient" function has been created to add distinction between custom
client objects and NetClient objects.