Move imported function to a new folder/module and create Classes for ease of import into different scripts.