Separated hosts functions to own file.
Moved http server restart command to config.
Merge pull request #10 from tuomasvapaavuori/hosts_parsing

Hosts parsing