added examples and main file