Create layout class