Moved restcore out of this project