Thanks @michael. I think that is a quick fix which I can use for now. and Thanks for enlighten me on correct approach.
General developer forum
Where to put shared class in moodle ?
This discussion has been locked so you can no longer reply to it.