make connection an interface and create mysql implementation