adding basic generator capabilities
adding layout handling