Fixed parallel handling for 0 tasks.
Started moving asset management into own module.