rename requesthandler and implement portfoliohandler