update header, add functions, reformat some code
update banner, use functions
update README
Merge pull request #2 from tripflex/6-1-stable

6 1 stable