used state constants in class
Minor update

- Added better logging (node debug)
- Now you can use the continuous option (Will be updated in docs)