Reorganizing code completed. First sample of usage added.