Adding multiplatform init.d support

Revamped some structure and some maven