Introduced layouts. Changed css styles.