general refactoring of sources
improved gitignore