Fix emit apptype
Add build_dev to Makefile
First glimp on example with routing... uncomplete