Create libservice.py