added some models objects and library code