created a sample custom credit management plugin for osclass