Added flib_base code.