Added ORM link between layers and layer properties