added license to LayoutAbstract.java