added core algorithm files