added dependency checks and debain init script (provided by jcharaoui)