Update feature api

@aashish24 Everything is working here except glLines.  I propose merging this now and opening a separate issue to fix glLines.

Fixes: #183, #191