add git ignore
change change_connect_status to a instance method