Update association handling. Add postgres and mysql as dependencies.