removed extra spaces
new support for service init and destroy
new init and destroy jni methods