feature add, support multiple templates, extensions, git

i fixed the issue with multiple templates
features added:
install via git pull from origin or upstream
install via stable branch , use wget to download the latest release
custom repo locations via conf
auto init a repo after successful install
added hostmane flag