Atmega328 + Accelerometre + Bluetooth Module help?

Hi Guys,

So I've created my own board which has the atmega328 (not yet bootloaded with Arduino), a triaxial accelerometre (ADXL345) and a bluetooth module. Basically I want to send the data from the tri-axial accelerometre to the Atmega then sent to a PC via bluetooth.

Could someone point me in the right direction for creating the Sketch for this? I've downloaded the IDE but not sure how its done.

Any other related tips are welcome.

-Fail Uni Student