do some require from pimatic module
fixes pathes in nap and added appDir option to nap
added node_modules folder to .gitignore