throw exception on CHECK failure
move LLOG/LDLOG into Layer.hpp, allow --verbose flag to disable for debug runs