Updated class MainW and class KriKil