Get familiar with the library structure: Library structure
You should read and follow the coding styles: Coding Rules (Mostly inherited from IT++)
Each contribution should come with elementary test of its functionality: Unit testing of BDM
C++ is greatly flexible language which allows many tricks with memory management. For compatibility and ease of debugging, please follow guidelines given at: Memory Management in BDM