Fixed scope issue and changed elm327 object to service