Code cleaned after tutorial. Real implementation started.