Add ExampleMain. Clean and add comments here and there