add coding rules directory

- add coding rules directory which contains a template for python and readme file
- major changes in the waiting room control script