Changed data layer to mysql