weights can now also be defined within the task

Documentation is added
Manaual Testing is done
Nothing added to test_all yet