implemented function framework to project.js
small enhancements