Prepared Main Layout