added initscript
fixed error, cleanups, threads todo
+