Added GPIO door state reading code, need to add post to server with state. Removed simple /door GET from server. Added 'validator' to check that the card hashes are hex strings to prevent SQL injection.