moved task form into separate module

refactoring in the process