add gitignore
remove bin directory and gen directory
move static valiable declare