This is how to connect Raspberry pi and RTC module via I2C

This is a very easy way of connecting RTC to Raspberry 2