Remove unneeded functions for api access. Add dbus configuration. Format the file