Merge "Implement service and repository layers for storing temporal data"