add gitignore
moved logic out of class
final commit
Merge branch 'optimization' of github.com:MarcoGnecchi/CHP into optimization