Initial version of libryosal and libpom

The initial code of libryosal(not completed yet) and libpom(completed).