Move entities folder out of core