BMInterface now works with live database

Much of the mocking code in BMInterface has been replaced with code to interface with the live database.