move variables definition back to Makefile
clean imes and layouts directories for keybaord app
Removed some unnecessary code from Makefile and build.js for apps