use absolute paths to lib folders
add templates