complete scala examples and module