added packaging. improved network