adding view support
adding config sample