Model based MySQL conntor module