Major Refunct
Define DB file only once
Debug
Implement SMS trigger using external script "googalert"