adding database class to use to call php pages