major bugfixes to imports, add gitignore file