Added basic data logger.