rework camera api
Merge pull request #67 from michaelfung/master

rework camera api