Work in progress
New API for all features
Add some logging
JSON API to get state of single feature