making the Bugle api more modular, leveraging conditional code