Moved each analytics view to its own file