add FeatureLayerControl

add some cleanup
Merge pull request #3 from btfou/master

add FeatureLayerControl