Added build profile for travis CI and fixed bugs in billing management.
Merge remote-tracking branch 'origin/impl2' into impl2