Beginning of a proper plugin system. Thank you Marty Alchin