fixed sample so it compiles again; (NOTE: had to disable the tests)
added .gitignore file
formatting clean up
formatting and code clean-up