switched from main.js to app.js
maved open src files to lib dir