Replication lag support in server struct

Replication lag support in server struct and configuration