improve helper

add main function for helper
bug fix
improvements :

add hook function
export global variables and functions
fix : installer creates user dirs with relative path
add pre-commit script for development
add new extention tug
Version 1.3