About to reimplement the server using classes
Revised most of the php files using my simplified data access object