fixed many bugs and issues including adding materials and employees