Moved DB interfaces and updated email
Starting on the db