initial import
reformat code to original version
simplify code
reformat code
merge github repo