support agent starting and create init.d service

* recommends java to install java jdk
* create init.d service scripts for the agents
readme: add missing code end marks (`)
use agent names only if there is more than one agent

Remove old default attribute of agent. Count all agents and use agent names
only if it is needed to distinguish between more agents.