Tools helper class for ios