Added constructor and removed the hardcoding of "phpmyadmin"