Refactoring: move files and split Analytics module.