code style
added pwmfactory
added example folder