fixed encoding error in DB.java
changed .gitignore file