add gitignore and add getters and setters for controllers