Added building module and rudimentary testing for it