Add Q library