Added main class and simple example