Pragmatic REST API Server Implementation on PHP