Removing hardcoded 50000
Adding setByName method
cleaning up destroyByName
Tidy of code