Added latency command
Added latency command and some other changes
Generalized default config