Added basic layout generation. CSS changes.