add appoptions
add apiv1
Merge branch 'master' of github.com:AlloVince/phalcon