removed common->json_encode/json_decode, removed libs/phpxmlrpc, code cleanup