Separated components from pageTemplate.js into their own files and added
toast notifications