some fixes and Added a portfolio template to examples