add basic service lib