refactoring LaReferencia stats, controller, service and theme