fixed imports
updated gitignore files
implemented https://github.com/fBrx/samples/issues/4