Updated command line parameter, changed some raw pointer to scoped_ptr, updated D-Bus return messages and some other minor issues are also fixed.