add api
Merge branch 'master' of http://github.com/lfijas/BIP_project