Tidied up some code for the IDE and added the portfolio button
Basic handler class