Added sphinx, fixed all init scripts