Start using pexpect for mongodb interaction