Add bacs/common to source code
Add API