Re-locate macbook power button

I am working on converting my macbook into a tablet computer, but I need to relocate the power button and remove the keyboard.

Does anyone know how to remove the keyboard but still have the ability to power on/off the computer.

Thanks in advance