added common library for SMTP and bitvectors