finish a complete version of API PriorJ Services.