changed large layout media
refacto + layout cv
changed debug
amend cv for layouts