Remove test file.

All of the testing should happen as a seperate file in each directory.
Modify all files in the registry package.

A little refactoring here went on - the API is the where all method
calls will dispatch from. Each of the structures returned will unmarshal
from JSON payload.