PhoneticEncoder changes: able to connect and communicate with the database