Java multitask programming library