Fixed compilation errors + working on IOActor