added power switch control

added power switch control module and integrated with request handler