created the schema of the MySQL database
added a module for general-purpose functions
changed the beahviour of PUT and POST, I separated the concerns of the REST architecture from the base-layer API responsibility. also implemented type validation for PUT, although it does not fire an error for invalid arguments but just filters them out. I'm going to implement validation logic in the REST interface