Split TableView logic from Controller logic and added new ignore folder ...

...to gitignore