some work

- debugged findNetwork -- it is now complete
- added new class for use of findNetwork
- small changes to constants