major push

now tracking devices in the local network as well as logging them works
fine. some refactoring has been done as well.
the devices get logged and watched via cron timed jobs.