Adding api file for PHP generation, making dbUser,name and password parameters
Various changes