Every save or delete in PyMonitor model  is saved in credentials.txt, cleaned some code