added favicon, cleaned some code