moved some samples into examples folder, refactored Context a bit, added more tests