add mapping, getters and setters