add typecasting to string and remove return into construct
add unit test and functional test for Services