modifying gitignore
Solved 3.

* Solved the 3rd problem
* Made factorize into a function class thing. Ergo had to add
  __init__.py