classes and functions I use across my different php projects