PHP function that emulates Python import function, wrapping functions into a Class and creating an instance of the new Class, making it available immediately.