added high level primitives and cycns, added initfromdb for POD