use .gitignore to ignore generated files

also removed bin and gen folders