Revert "bipilesh,jaideep |done static request"

This reverts commit 0fb15d14b93be3463ea2c60dcbe1f9c15afebd55.
Revert "Revert "bipilesh,jaideep |done static request""

This reverts commit 4f4e018b9894fb5e03a35f289e3d14bb2bacad16.
dividing god method into sub methods