Moved services from frontend over to library