created service calls for php and visualization layout