added init scripts
Updated install to import smf first.
Added a propper init scripts.