Start rewriting scripts to new format.
 - fix functions to new format.
 - fix build script to support program scripts in new format.
 - add program script template - skelet.sh
Fix execute function to new format
Initial convert scripts to new format.