Almost finished the wrapper core. Further testing is needed.