Added initial code to Analytics file.