added favicon, sorted out loading resources