set up database locally and added php files that interface with mysql