Add brickhouse hive library

This is revised PR of #3