Refactoring according to libiada-core. Also updated .gitignore.