added type handling and first characteristics
next step on rework of dal