clean up and version 1

clean up code, add some new functions and generate a Resume template A
Html.