Added configuration reading
Added barrier, mutex and conditional (along with first implementation) to horse structure