[FC] Add initial generic code from other projects