added docs directory and fix p2 profile issues