Adding initial loki implementation.