Simplified data layer.
Added licence notice.