add resource_cfg file
import hosttemplates and checkcommands
support multiple dns names in macro
add memory check
edit services in order to generate a correct configuration (some old code has not been removed)
add some services and remove old code