database file back to the branch and socket code moved to another file
database file back to the branch and socket code moved to another file