Class Plugin Demo

Somebody may like to write in a more functional way