init script and installer

here's the init script and installer as discussed