added sample unit tests to the service.  moved all scripts into a single file.