add tests for task handler:
1. empty list
2. empty array
add file api and test fot it
add performance test
code formatting
add javadoc