fixes cli js
add main app file
add build directory