How to create a simple WordPress plugin to Access and Control Hardware