add basic libraries & hooks