Added bool as return for init, uninit and cleanUp methods

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>