refactoring task reg and readme