add layout utilites

add layout classes from private project