Creating main layout