add data layer and log4j