A php mini framework for database access, and RESTful webservices