frist draft of spgenesis
added test for service query