Timeout ping requests; Reinitialize repo when not present

Reinitialize repo directory doesn't exist on git-fetch call

Set timeout for http/post in ping service
Move server-settings from db to config file