remove unused classes and add Google analytics