First working version of weeklayout