add p2pl domain model
1. fix gradle build file; 2. fix local db launching script; 3. start working on the domain model and service for p2pl