correct paths and checks
add package.json template
add path resolution