initial commit for the server - php and sql scripts