split sourcecode in tasks