started on refactor of BOL out of UI