Add first mapping code in eclipse