gitignore, refactoring input methods into static class