Improve coverage on config.go
Improve coverage on server.go

Remove unused functions as per the oracle