added basic_lib template