Unified Framework for Post-Selection Inference