Just a reuse-able code by Yeoman Gen