Renamed doCycle to cycle & added declarations of threading methods to core